import os
# os.rename('test/demo2.txt','test/demo3.txt')

# 删除文件
# os.remove('文件路径')
# os.remove('test/demo4.txt')

# 创建文件夹(目录)
# os.mkdir(目录路径)
# os.mkdir('test1')
os.getcwd()
print(os.getcwd())

# 查看目录资源
# print(os.listdir('./'))

# 目录路径
# os.rmdir('目录路径')

# os.rmdir('test')

# print(os.path.isdir('test'))
#
# print(os.path.isfile('06_案例.py'))

# print(os.path.splitext('demo.txt'))
#
# filename, extetion = os.path.splitext('demo.txt')
# print(filename)
